<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><?php echo $title_for_layout?></title>
		<link href="<?php echo $html->url('/',true)?>../icon.ico"
			type="image/x-icon" rel="icon" />
		<link href="<?php echo $html->url('/',true)?>../app/webroot/icon.ico"
			type="image/x-icon" rel="shortcut icon" />
		<?php echo $html->css('default.css'); ?>
		<?php echo $javascript->codeBlock("CAKE_ROOT=\"".$html->url('/',true)."../\";")?>
		<?php echo $javascript->link("/js/lib/jquery-1.3.2.js")?>
		<?php echo $javascript->link("/js/init.js")?>
	</head>
		<body>
		<div class="menu_bar" id="menu_top">
		<p class="applogo">CSIE Millionaire</p>
		<ul>
<!--
			<li><a href="" onclick="javascript:return false;" class="menu_button"
				id="menu_top_home">Home</a></li>
			<li><a href=""
				onclick="javascript:LS.problem.reload();return false;"
				class="menu_button" id="menu_top_questions">Problems</a></li>
			<li><a href=""
				onclick="javascript:LS.scoreboard.reload();return false;"
				class="menu_button" id="menu_top_soreboard">Score Board</a></li>
-->
			<li><p id="welcome_msg"></p></li>
			<li><a href="" onclick="javascript:LS.user.logout();return false;"
				class="menu_button">Logout</a></li>
		</ul>
		</div>
		<?php echo $content_for_layout ?>
		<div id="debug_output"></div>
	</body>
</html>
